//成员类型
const ROLE_TYPE = {
	1:'管理员',
	2:'项目管理人员',
	3:'业务经理',
	4:'业务员',
	5:'客服'
}

const TOP_TAB = {
	0:'BASE',
	1:'PROPERTY',
	2:'SYSTEM',
}

const ANALYZE_TABLE_TYPE = {
	0:'PAYMENT_DAYS_ANALYZE',//账期分析
	1:'CONCENTRATION_RATIO_ANALYZE',//集中度分析
	2:'TERRITORY_ANALYZE',//地域分析
	3:'DEBTOR_ANALYZE',//债务人分析
	4:'GOODS_ANALYZE',//货物分析
	5:'PROPERTY_ANALYZE',//资产分析
	6:'RECLAIM_MONEY_REPORT',//回收款
	7:'END_TERM_PROPERTY_REPORT',//期末资产
}


//企业性质
const COMPANY_NATRUE = {
	'STATE_OWNED':'国企',
	'PRIVATE':'民企',
	'STATE_OWNED_LISTING':'国企（上市）',
	'PRIVATE_LISTING':'民企（上市）',
}

const ACCOUNT_ROLE_TYPE = {
	'ORIGINATOR':'原始受益人',
	'PLAN_ADMIN':'计划管理人',
}

//影子评级
const SHADOW_RATING = {
	"THREE_A":"AAA",
	"TWO_A_PLUS":"AA+",
	"TWO_A":"AA",
	"TWO_A_MINUS":"AA-",
	"ONE_A_PLUS":"A+",
	"ONE_A":"A",
	"ONE_A_MINUS":"A-",
}

//当期资产分级
const CURRENT_ASSET_LEVEL = {
	1:"正常",
	2:"逾期",
	3:"关注",
	4:"次级",
	5:"违约",

}

//是否
const IS_NOT = function (val){
	return val == true ?'是':'否'
}
//是否
const IS_NOT_MAP = {
	1:'是',
	0:'否'
}
//资产分级
const ASSET_LEVEL = {
	"NORMAL":"正常",
	"OVERDUE":"逾期",
	"FOCUS":"关注",
	"SECONDARY":"次级",
	"BREAK":"违约",
}

//担保方式
const GUARANTEE = {
	NONE:'无',
	CREDIT:'信用',
	COMMON_GUARANTEE:'一般保证',
	MAX_GUARANTEE:'最高额保证',
	COMMON_MORTGAGE:'一般抵押',
	MAX_MORTGAGE:'最高额抵押',
	PLEDGE:'质押'
}

//运输方式
const TRANSPORT_TYPE = {
	UNKNOWN:'未知',
	MOTOR:'汽运',
	TRAIN:'火运',
	SHIP:'船运'
}
//回款方式
const RETURNED_MONEY_WAY ={
	WIRE:'电汇',
	ACCEPT:'承兑',
	BOTH:'电汇 + 承兑'
}
//回款来源
const RETURNED_MONEY_SOURCE = {
	DEBTOR:'债务人回款',
	CREDITOR_REDEEM:'债权人赎回',
	CREDITOR_BUY_BACK:'债权人回购'
}
//备注类型
const REMARK_TYPE ={
	EXECUTION:'执行费用',
	ARBITRATION_RELATED:'涉及诉讼',
	LITIGATION_RELATED:'涉及仲裁',
	OTHER:'其他说明',
}

//手机站域名
const MOBILE_DOMAIN = "http://m.yinuochoukuan.com";

export {
	ROLE_TYPE,
	TOP_TAB,
	COMPANY_NATRUE,
	ACCOUNT_ROLE_TYPE,
	SHADOW_RATING,
	ANALYZE_TABLE_TYPE,
	CURRENT_ASSET_LEVEL,
	ASSET_LEVEL,
	IS_NOT,
	GUARANTEE,
	TRANSPORT_TYPE,
	RETURNED_MONEY_WAY,
	RETURNED_MONEY_SOURCE,
	REMARK_TYPE,
	IS_NOT_MAP
};
